package com.ruiben.mall.pojo;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "recharge_card")
public class RechargeCard {
    /**
     * 充值卡卡号
     */
    @Id
    @Column(name = "card_number")
    private String cardNumber;

    /**
     * 充值卡密码
     */
    @Column(name = "card_password")
    private String cardPassword;

    /**
     * 充值卡金额
     */
    private Integer money;

    @Column(name = "dead_time")
    private Date deadTime;

    /**
     * 是否充值过（0：否；1：是）
     */
    @Column(name = "recharge_status")
    private Boolean rechargeStatus;

    /**
     * 是否删除
     */
    @Column(name = "is_delete")
    private Boolean isDelete;

    /**
     * 获取充值卡卡号
     *
     * @return card_number - 充值卡卡号
     */
    public String getCardNumber() {
        return cardNumber;
    }

    /**
     * 设置充值卡卡号
     *
     * @param cardNumber 充值卡卡号
     */
    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    /**
     * 获取充值卡密码
     *
     * @return card_password - 充值卡密码
     */
    public String getCardPassword() {
        return cardPassword;
    }

    /**
     * 设置充值卡密码
     *
     * @param cardPassword 充值卡密码
     */
    public void setCardPassword(String cardPassword) {
        this.cardPassword = cardPassword;
    }

    /**
     * 获取充值卡金额
     *
     * @return money - 充值卡金额
     */
    public Integer getMoney() {
        return money;
    }

    /**
     * 设置充值卡金额
     *
     * @param money 充值卡金额
     */
    public void setMoney(Integer money) {
        this.money = money;
    }

    /**
     * @return dead_time
     */
    public Date getDeadTime() {
        return deadTime;
    }

    /**
     * @param deadTime
     */
    public void setDeadTime(Date deadTime) {
        this.deadTime = deadTime;
    }

    /**
     * 获取是否充值过（0：否；1：是）
     *
     * @return recharge_status - 是否充值过（0：否；1：是）
     */
    public Boolean getRechargeStatus() {
        return rechargeStatus;
    }

    /**
     * 设置是否充值过（0：否；1：是）
     *
     * @param rechargeStatus 是否充值过（0：否；1：是）
     */
    public void setRechargeStatus(Boolean rechargeStatus) {
        this.rechargeStatus = rechargeStatus;
    }

    /**
     * 获取是否删除
     *
     * @return is_delete - 是否删除
     */
    public Boolean getIsDelete() {
        return isDelete;
    }

    /**
     * 设置是否删除
     *
     * @param isDelete 是否删除
     */
    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }
}